from django.urls import path

from hyzb.views import HyzbView

urlpatterns = [
    path(r'getGhyAdd', HyzbView.as_view({'get': 'get_GHY_ADD'}), name='get_GHY_ADD'),
    path(r'getHylrl', HyzbView.as_view({'get': 'get_HYLRL'}), name='get_HYLRL'),
    path(r'getHytz', HyzbView.as_view({'get': 'get_HYTZ'}), name='get_HYTZ'),
    path(r'export', HyzbView.as_view({'post': 'export_to_excel'}), name='export_to_excel'),
    path(r'predict', HyzbView.as_view({'post': 'predict'}), name='predict'),
]